<template>
  <el-dialog title="商品信息" :visible.sync="editVisible" width="70%" top="5vh">
    <div>
      <el-form ref="form" :modal="form" size="small">
        <el-row>
          <el-col :span="12">
            <el-form-item label="名称" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12" label-width="80px">
            <el-form-item label="年份" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="酒庄" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12" label-width="80px">
            <el-form-item label="产地" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="生产日期" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12" label-width="80px">
            <el-form-item label="酒精浓度" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="图片" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="品酒笔记" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="进价" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12" label-width="80px">
            <el-form-item label="代理商价" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12" label-width="80px">
            <el-form-item label="经销商价" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12" label-width="80px">
            <el-form-item label="团购价" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24" label-width="80px">
            <el-form-item label="是否发布" label-width="80px">
              <el-input size="small"></el-input>
            </el-form-item>
          </el-col>
        </el-row>

      </el-form>
    </div>
    <span slot="footer" class="dialog-footer">
          <el-button @click="editVisible = false" size="small">取 消</el-button>
          <el-button type="primary" @click="editVisible = false" size="small">确 定</el-button>
        </span>
  </el-dialog>

</template>
<script>
  export default {
    data() {
      return {
        editVisible: false,
        form: {}
      }
    },
    methods:{
      openDetail(){
        this.editVisible = true;
      }

    }
  }
</script>
